<?php 
$barcode_config['fontSize'] = 34;   // GD1 in px ; GD2 in point
$barcode_config['marge']    = 5;   // between barcode and hri in pixel
$barcode_config['x']        = 200;  // barcode center
$barcode_config['y']        = 60;  // barcode center
$barcode_config['height']   = 105;   // barcode height in 1D ; module size in 2D
$barcode_config['width']    = 4;    // barcode height in 1D ; not use in 2D
$barcode_config['angle']    = 0;   // rotation in degrees : nb : non horizontable barcode might not be usable because of pixelisation

$barcode_config['code']     = $_GET['barcode']; // barcode, of course ;)
if($_GET['is_str']){//带字母
	$barcode_config['x']        = 200;  // barcode center
	$barcode_config['y']        = 80;  // barcode center
	$barcode_config['height']   = 150;   // barcode height in 1D ; module size in 2D
	$barcode_config['width']    = 6;    // barcode height in 1D ; not use in 2D
}
@include("../lib/phpbarcode/barcode_gd.php");
?>